]> dgit.raspbian.org Git - gnome-shell.git/commit
blur-effect: Properly clear background framebuffer
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 13 Feb 2020 12:08:28 +0000 (13:08 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 27 Mar 2020 22:31:57 +0000 (22:31 +0000)
commit4783d767d64f9da9d82d82104f35418444a900d8
treed4bfd55a218e276b2c5657dbd83c19a391d991e8
parentdedbf0cb09ad9774e7c1cfc93b72eea93d452e8c
blur-effect: Properly clear background framebuffer

We want to completely clear the background framebuffer when switching
back to ACTOR mode to make sure the `background_fb.framebuffer` check
will fail in `update_background_fbo` when switching to BACKGROUND mode
again. Otherwise the checks in `update_background_fbo` will return TRUE
and we will keep using the background framebuffer that was created
before switchig to ACTOR mode.

While at it, also clear the background framebuffer completely when
changing the actor to avoid the same issue here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1000
src/shell-blur-effect.c